import { Base } from '../../../utils/base.js'
class UserCollect extends Base{
    constructor(){
        super()
      }
    
    /**
     * 获取用户收藏的视频
     * @param {*} success 
     * @param {*} fail 
     */  
    getUserCollectList(success,fail){
        this.request({
            url:'/get_user_collect',
            success:(res)=>{
                success&&success(res.data)
            },
            fail:(res)=>{
                fail&&fail(res)
            }
        })

    }  
}
export {UserCollect}